﻿using Book.CreateUpdate_DTO;
using Book.DTO;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Book
{
    public interface IShowService
    {
        Task<UserDTO> AddUser(CreateUpdatetbUserDto adduser);
        //添加订单
        Task<int> AddOrder(CreateUpdatetbOrderInfoDto dto);
        List<BookDTO> bookcontext();
        int Login(string username, string userpwd);
        //添加图片
        Task<tbImgDTO> Addimgurl(CreateUpdatetbImgDto dto);
        //图片列表
        List<tbImgDTO> IMGshow();
        //上传文件
        string Upload(IFormFile file);
        //三表联查
        List<BookDTO> GetListcommodity();
        Task<List<BookDTO>> GetProductList();





    }
}
